package xyz.labradormm.auth.config;

import org.springframework.boot.web.servlet.error.DefaultErrorAttributes;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author hhj
 * @description
 * @date 2023-04-06 10:06
 * @menu
 */
@Configuration
public class ServletConfig {


    @Bean
    public DefaultErrorAttributes errorAttributes() {
        return new DefaultErrorAttributes();
    }


}
